package com.fanshilz.flower2025.apps.wechatminiapp.project.req;

import com.fanshilz.flower2025.business.flower.projectCollect.entity.ProjectCollect;
import io.github.linpeilie.annotations.AutoMapper;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Max;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
@AutoMapper(target = ProjectCollect.class, reverseConvertGenerate = false)
public class WechatProjectCollectReq {

    @Schema(description = "收藏ID")
    private Long collectId;

    @NotNull
    @Schema(description = "线索ID")
    private Long projectId;

    @NotNull
    @Min(0)
    @Max(1)
    @Schema(description = "0=未收藏 1=已收藏")
    private Integer collectStatusValue;

}
